CREATE TABLE [dbo].[T_ACTIVITY]
(
[ACTIVITY_ID] [bigint] NOT NULL IDENTITY(1, 1),
[PROJECT_ID] [bigint] NULL,
[ACTIVITY_NAME] [varchar] (250) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ACTIVITY_STATUS] [bit] NOT NULL,
[CREATE_DATE] [datetime] NOT NULL,
[DISABLE_DATE] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_ACTIVITY] ADD CONSTRAINT [PK__T_ACTIVI__8E43DA62CA5776E5] PRIMARY KEY CLUSTERED  ([ACTIVITY_ID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_ACTIVITY] ADD CONSTRAINT [FK__T_ACTIVIT__PROJE__49C3F6B7] FOREIGN KEY ([PROJECT_ID]) REFERENCES [dbo].[T_PROJECT] ([PROJECT_ID])
GO
